#ifndef MERGEBUFFER_H_
#define MERGEBUFFER_H_

#include "RegistroIndiceMemoria.h"

#define BUFFER_SIZE 4096

class MergeBuffer
{
	private:
		RegistroIndiceMemoria ** buffer;
		int mergeBufferSize;
	
	public:
		MergeBuffer(int mergeBufferSize);
		virtual ~MergeBuffer();
		RegistroIndiceMemoria * operator[](int indice);
		void setRegistro(int index, RegistroIndiceMemoria * reg);
		int getBufferSize();
};

#endif /*MERGEBUFFER_H_*/
